package com.gridmobi.xrtb.domain.dsp.autoop;

import com.google.common.collect.Lists;
import com.gridmobi.xrtb.domain.dsp.JAffiliate;
import com.gridmobi.xrtb.domain.dsp.common.enums.StateE;

import java.util.List;

public class AutoOpenConf {
    private Integer state = StateE.INVALID.code;

    /**
     * 作用于联盟
     */
    private List<Integer> applyAffs = Lists.newLinkedList();
    private JAffiliate affiliate;
    /**
     * 排除OFFER
     */
    private List<Integer> excludeOffer = Lists.newLinkedList();
    /**
     * 包含OFFER
     */
    private List<Integer> includeOffer = Lists.newLinkedList();


    private Float maxPo;
    private Float minPo;

    private Byte minSteps;
    private Byte maxSteps;

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public List<Integer> getApplyAffs() {
        return applyAffs;
    }

    public void setApplyAffs(List<Integer> applyAffs) {
        this.applyAffs = applyAffs;
    }

    public JAffiliate getAffiliate() {
        return affiliate;
    }

    public void setAffiliate(JAffiliate affiliate) {
        this.affiliate = affiliate;
    }

    public List<Integer> getExcludeOffer() {
        return excludeOffer;
    }

    public void setExcludeOffer(List<Integer> excludeOffer) {
        this.excludeOffer = excludeOffer;
    }

    public List<Integer> getIncludeOffer() {
        return includeOffer;
    }

    public void setIncludeOffer(List<Integer> includeOffer) {
        this.includeOffer = includeOffer;
    }

    public Float getMaxPo() {
        return maxPo;
    }

    public void setMaxPo(Float maxPo) {
        this.maxPo = maxPo;
    }

    public Float getMinPo() {
        return minPo;
    }

    public void setMinPo(Float minPo) {
        this.minPo = minPo;
    }

    public Byte getMinSteps() {
        return minSteps;
    }

    public void setMinSteps(Byte minSteps) {
        this.minSteps = minSteps;
    }

    public Byte getMaxSteps() {
        return maxSteps;
    }

    public void setMaxSteps(Byte maxSteps) {
        this.maxSteps = maxSteps;
    }
}
